import Vue from 'vue'
/** 
 * 医师标签服务
*/
export default {
  /**
   * 添加医师标签
   * @param {*} params 
   * @param {*} config 
   */
  async addDoctorLabel(params = {}, config = {}) {
    let result = await Vue.http.post('/DoctorLabel/AddLabel', params, config);
    return result;
  },
  /**
   * 更新医师标签
   * @param {*} params 
   * @param {*} config 
   */
  async updalteDoctorLabel(params = {}, config = {}) {
    let result = await Vue.http.put('/DoctorLabel/UpdateLabel', params, config);
    return result;
  },
  /**
   * 删除医师标签
   * @param {*} params 
   * @param {*} config 
   */
  async deleteDoctorLabel(params = {}, config = {}) {
    config.params = params;
    let result = await Vue.http.delete('/DoctorLabel/DeleteLable', config);
    return result;
  },
  /**
   * 获取医师标签列表
   * @param {*} params 
   * @param {*} config 
   */
  async getDoctorLabelList(params = {}, config = {}) {
    config.params = params;
    let result = await Vue.http.get('/DoctorLabel/GetLabelList', config);
    return result;
  }
}
